<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        margin: 0;
        padding: 0;
        list-style: none;
      }

      .nav-top {
        width: 100%;
        height: 50px;
        background-color: #464646;
      }
      .nav-top ul {
        width: 804px;
        height: 50px;
        margin: 0 auto;
      }
      .nav-top ul li {
        width: 134px;
        height: 50px;
        float: left;
        list-style: none;
        text-align: center;
        line-height: 50px;
        font-size: 18px;
        color: white;
      }
      .nav-top ul li a {
        color: white;
        text-decoration: none;
      }
      /* .man-woman{
            width:100%;
            height:500px;

            z-index:1;
            position:absolute;
            } */
      /* .man-woman>div:nth-of-type(1){
            width:100%;
            height:250px;
            display:flex;
            justify-content: space-between;
            align-items: center;
            }
            .man-woman>div:nth-of-type(2){
            width:100%;
            height: 250px;
            }
            .man-woman>div>ul{
            width: 1000px;
            display: flex;
            justify-content: space-between;
            align-items:center;
            margin: 0 auto;
            } */
      /* .man-woman>ul{
            width: 390px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0 auto;
            } */
      .man-woman {
        width: 1519px;
        height: 300px;
        background-color: white;
        margin: auto;
        display: none;
        z-index: 1;
        position:absolute;
      }

      .diyi {
        width: 1500px;
        height: 150px;
        /* background-color: blanchedalmond; */
        float: left;
        margin: 0 auto;
        text-align: center;
      }

      .diyi img {
        float: left;
        width: 90px;
        height: 100px;
        margin-left: 100px;
      }
      .diyi li {
        float: left;
        width: 130px;
        height: 150px;
        margin-left: 50px;
      }
      .diyi p {
        float: left;
        font-size: 10px;
        margin-left: 90px;
        width: 100px;
      }

      .diy2 {
        border-top: 1px solid black;
      }
      .diy2 img {
        float: left;
        width: 90px;
        height: 100px;
        margin-left: 110px;
      }
      .diy2 li {
        float: left;
        width: 130px;
        height: 150px;
        margin-left: 50px;
      }
      .diy2 p {
        float: left;
        font-size: 10px;
        margin-left: 120px;
        width: 100px;
      }
    </style>
  </head>
  <body>
    <div class="box">
      <div class="nav-top">
        <ul>
          <li><a href="">男的</a></li>
          <li><a href="">女的</a></li>
          <li><a href="">儿童</a></li>
          <li><a href="">七夕秘籍</a></li>
          <li><a href="">热销榜</a></li>
          <li><a href="">店铺分布</a></li>
        </ul>
      </div>
      <div class="man-woman">
        <div class="diyi">
          <ul>
            <li>
              <img src="./img/1.png" alt="" />
              <p>踩的</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>穿的</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>裤装</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>戴的</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>腰果花</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>小白鞋</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>川久保玲</p>
            </li>
          </ul>
        </div>
        <div class="diy2">
          <ul>
            <li>
              <img src="./img/1.png" alt="" />
              <p>经典款</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>CHUCK 70</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>ALL STAR</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>JACK PURCELL</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>ONE STAR</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>PRO LEATHER</p>
            </li>
            <li>
              <img src="./img/1.png" alt="" />
              <p>CONS</p>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </body>
</html>
<script src="./jQuery.js"></script>
<script>
  $("li")
    .eq(0)
    .mouseleave(function () {
      $(".man-woman")
        .eq(0)
        .stop()
        .fadeOut(500, function () {});
    });
  $("li")
    .eq(0)
    .mouseenter(function () {
      $(".man-woman")
        .eq(0)
        .stop()
        .fadeIn(500, function () {});
    });
</script>
